<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
	</head>
	<body>
		<script>
			// 1. 对象字面量
			var obj = {}

			// 2. new Object()
			var obj2 = new Object()
			obj2.name = 'kobe'

			// 3. new 其他类()
			function Person() {}
			var p = new Person()
			console.log(obj, obj2, p)
		</script>
	</body>
</html>
